﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TickerControl.ascx.cs"
    Inherits="Modules_TickerControl" %>
<div class="col-md-12">
    <ul id="js-news" class="js-hidden">
        <asp:Repeater runat="server" ID="repeaterTicker">
            <ItemTemplate>
                <li class="news-item">
                    <asp:HyperLink NavigateUrl='<%# "~/post/" + Eval("UniqueId") %>' runat="server"><%# Eval("Title") %></asp:HyperLink>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <script type="text/javascript">
        $(function () {
            $('#js-news').ticker({
                titleText: 'Latest News : '
            });
        });
    </script>
</div>
